package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumAttributeValue;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {
    private static final Logger log = LoggerFactory.getLogger(AlbumInfoDegradeFeignClient.class);

    @Override
    public Result<AlbumInfo> getAlbumInfo(Long id) {
        log.info("获取专辑信息远程调用熔断保护");
        return null;
    }

    @Override
    public Result<List<AlbumAttributeValue>> findAlbumAttributeValue(Long albumId) {
        log.info("获取专辑属性值远程调用熔断保护");
        return null;
    }

    @Override
    public Result<AlbumStatVo> getAlbumStat(Long albumId) {
        log.info("获取专辑统计信息远程调用熔断保护");
        return null;
    }

    @Override
    public Result<AlbumStatVo> getAlbumStatVo(Long albumId) {
        log.info("获取专辑统计信息Vo远程调用熔断保护");
        return null;
    }
}
